#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>

int openPort(void);

int closePort(int fd);

int writeData(int fd, int nBytes, unsigned char *sbuf);

int readData(int fd, int nBytes, unsigned char *sbuf);

